<template>
	<view class="topic_item">
		<!-- 使用题目详情组件 -->
		<topic_wrap  :topic="data"></topic_wrap>
	</view>
</template>

<script setup>
	import { ref } from 'vue';
	// 导入组件
    import topic_wrap from '../../components/topic_wrap/topic_wrap.vue';
	
	// 定义对象记录题目数据
	let data = ref({
		question: "xxxx题目",
		author: "张三",
		answer: "题目解析文本说明xxx",
		message: "测试xxx"
	})
</script>

<style lang="scss">
.topic_item {
	
}
</style>
